<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cutex: cutex::QxSpellChecker Klassenreferenz</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">cutex
   </div>
   <div id="projectbrief">cute Qt extensions</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Erzeugt von Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Suchen','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Suchen');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classcutex_1_1_qx_spell_checker.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-slots">Öffentliche Slots</a> &#124;
<a href="#pub-methods">Öffentliche Methoden</a> &#124;
<a href="#pub-static-methods">Öffentliche, statische Methoden</a> &#124;
<a href="#pri-slots">Private Slots</a> &#124;
<a href="#pri-attribs">Private Attribute</a> &#124;
<a href="#pri-static-attribs">Statische, private Attribute</a> &#124;
<a href="classcutex_1_1_qx_spell_checker-members.html">Aufstellung aller Elemente</a>  </div>
  <div class="headertitle">
<div class="title">cutex::QxSpellChecker Klassenreferenz</div>  </div>
</div><!--header-->
<div class="contents">

<p>Mit QxSpellChecker kann eine Rechtschreibprüfung für QTextEdit, bzw. QPlainTextEdit realisiert werden.  
 <a href="classcutex_1_1_qx_spell_checker.html#details">Mehr ...</a></p>

<p><code>#include &lt;<a class="el" href="qxspellchecker_8h_source.html">qxspellchecker.h</a>&gt;</code></p>
<div class="dynheader">
Klassendiagramm für cutex::QxSpellChecker:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcutex_1_1_qx_spell_checker.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
Öffentliche Slots</h2></td></tr>
<tr class="memitem:aff6f85d838bb2e24ce25491bacfab480"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_spell_checker.html#aff6f85d838bb2e24ce25491bacfab480">run</a> ()</td></tr>
<tr class="separator:aff6f85d838bb2e24ce25491bacfab480"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Öffentliche Methoden</h2></td></tr>
<tr class="memitem:acf097377b2136730d9673412ddf1ba0e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_spell_checker.html#acf097377b2136730d9673412ddf1ba0e">QxSpellChecker</a> (QTextEdit *editor)</td></tr>
<tr class="separator:acf097377b2136730d9673412ddf1ba0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b0abd6d1e680b04f44d44709a3f1c6e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_spell_checker.html#a8b0abd6d1e680b04f44d44709a3f1c6e">QxSpellChecker</a> (QPlainTextEdit *editor)</td></tr>
<tr class="separator:a8b0abd6d1e680b04f44d44709a3f1c6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Öffentliche, statische Methoden</h2></td></tr>
<tr class="memitem:a0af81736b99c4ddae32a0c3d53efd38a"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_spell_checker.html#a0af81736b99c4ddae32a0c3d53efd38a">setDictionary</a> (const QString &amp;fileName)</td></tr>
<tr class="separator:a0af81736b99c4ddae32a0c3d53efd38a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8953def53468585b6cf196c2f9d29253"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_spell_checker.html#a8953def53468585b6cf196c2f9d29253">setActive</a> (bool active)</td></tr>
<tr class="separator:a8953def53468585b6cf196c2f9d29253"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bde8683461bc7a78001afeaadce71f2"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_spell_checker.html#a5bde8683461bc7a78001afeaadce71f2">setDelay</a> (int delay)</td></tr>
<tr class="separator:a5bde8683461bc7a78001afeaadce71f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-slots"></a>
Private Slots</h2></td></tr>
<tr class="memitem:a01ff8f9b78d4cd886bbe6404eb44d1d5"><td class="memItemLeft" align="right" valign="top"><a id="a01ff8f9b78d4cd886bbe6404eb44d1d5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>wake</b> ()</td></tr>
<tr class="separator:a01ff8f9b78d4cd886bbe6404eb44d1d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af32a0e0dad21d81a4ea8d173a2c92658"><td class="memItemLeft" align="right" valign="top"><a id="af32a0e0dad21d81a4ea8d173a2c92658"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>restart</b> ()</td></tr>
<tr class="separator:af32a0e0dad21d81a4ea8d173a2c92658"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attribute</h2></td></tr>
<tr class="memitem:a4e8947e8fc0ae7ca8ccbf87d22099315"><td class="memItemLeft" align="right" valign="top"><a id="a4e8947e8fc0ae7ca8ccbf87d22099315"></a>
QTextEdit *&#160;</td><td class="memItemRight" valign="bottom"><b>m_editor</b></td></tr>
<tr class="separator:a4e8947e8fc0ae7ca8ccbf87d22099315"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75c960be1abcc1bf1aee541bd95aca1d"><td class="memItemLeft" align="right" valign="top"><a id="a75c960be1abcc1bf1aee541bd95aca1d"></a>
QPlainTextEdit *&#160;</td><td class="memItemRight" valign="bottom"><b>m_plainEditor</b></td></tr>
<tr class="separator:a75c960be1abcc1bf1aee541bd95aca1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d49ea41e3c936409017afb25fb33e3f"><td class="memItemLeft" align="right" valign="top"><a id="a9d49ea41e3c936409017afb25fb33e3f"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>m_finished</b></td></tr>
<tr class="separator:a9d49ea41e3c936409017afb25fb33e3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29b4d0a5cede7cc095fc5341fa899df8"><td class="memItemLeft" align="right" valign="top"><a id="a29b4d0a5cede7cc095fc5341fa899df8"></a>
QElapsedTimer&#160;</td><td class="memItemRight" valign="bottom"><b>m_interval</b></td></tr>
<tr class="separator:a29b4d0a5cede7cc095fc5341fa899df8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
Statische, private Attribute</h2></td></tr>
<tr class="memitem:aef41c7fde530de9df24b369fee8db81f"><td class="memItemLeft" align="right" valign="top"><a id="aef41c7fde530de9df24b369fee8db81f"></a>
static QSet&lt; QString &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_wordList</b></td></tr>
<tr class="separator:aef41c7fde530de9df24b369fee8db81f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44be9dea0a2bbd2213f8b196b9184a9a"><td class="memItemLeft" align="right" valign="top"><a id="a44be9dea0a2bbd2213f8b196b9184a9a"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>m_active</b> = false</td></tr>
<tr class="separator:a44be9dea0a2bbd2213f8b196b9184a9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53253986acbb29e2be095e456719e94b"><td class="memItemLeft" align="right" valign="top"><a id="a53253986acbb29e2be095e456719e94b"></a>
static int&#160;</td><td class="memItemRight" valign="bottom"><b>m_delay</b> = 1000</td></tr>
<tr class="separator:a53253986acbb29e2be095e456719e94b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Ausführliche Beschreibung</h2>
<div class="textblock"><p>Mit QxSpellChecker kann eine Rechtschreibprüfung für QTextEdit, bzw. QPlainTextEdit realisiert werden. </p>
<p>QxSpellChecker vergleicht die Inhalte eines QTextEdit mit einer Wortliste und markiert alle Wörter, die nicht in der Liste enthalten sind. </p>
</div><h2 class="groupheader">Beschreibung der Konstruktoren und Destruktoren</h2>
<a id="acf097377b2136730d9673412ddf1ba0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf097377b2136730d9673412ddf1ba0e">&#9670;&nbsp;</a></span>QxSpellChecker() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QxSpellChecker::QxSpellChecker </td>
          <td>(</td>
          <td class="paramtype">QTextEdit *&#160;</td>
          <td class="paramname"><em>editor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Erzeugt ein neues Objekt zur Rechtschreibprüfung für den Editor <em>editor</em>. </p>

</div>
</div>
<a id="a8b0abd6d1e680b04f44d44709a3f1c6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b0abd6d1e680b04f44d44709a3f1c6e">&#9670;&nbsp;</a></span>QxSpellChecker() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QxSpellChecker::QxSpellChecker </td>
          <td>(</td>
          <td class="paramtype">QPlainTextEdit *&#160;</td>
          <td class="paramname"><em>editor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Erzeugt ein neues Objekt zur Rechtschreibprüfung für den Editor <em>editor</em>. </p>

</div>
</div>
<h2 class="groupheader">Dokumentation der Elementfunktionen</h2>
<a id="aff6f85d838bb2e24ce25491bacfab480"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff6f85d838bb2e24ce25491bacfab480">&#9670;&nbsp;</a></span>run</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QxSpellChecker::run </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Führt die Rechtschreibprüfung durch und markiert alle ungültigen Wörter. </p>

</div>
</div>
<a id="a8953def53468585b6cf196c2f9d29253"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8953def53468585b6cf196c2f9d29253">&#9670;&nbsp;</a></span>setActive()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QxSpellChecker::setActive </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>active</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Aktiviert oder deaktiviert die Rechtschreibprüfung. </p>

</div>
</div>
<a id="a5bde8683461bc7a78001afeaadce71f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5bde8683461bc7a78001afeaadce71f2">&#9670;&nbsp;</a></span>setDelay()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QxSpellChecker::setDelay </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>delay</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Setzt den Zeitraum zur Aktualisierung der Rechtschreibprüfung auf <em>delay</em> Millisekunden. </p>

</div>
</div>
<a id="a0af81736b99c4ddae32a0c3d53efd38a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0af81736b99c4ddae32a0c3d53efd38a">&#9670;&nbsp;</a></span>setDictionary()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QxSpellChecker::setDictionary </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>fileName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Aktualisiert die Wortliste mit dem Inhalt der Datei <em>fileName</em>. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>cutex</b></li><li class="navelem"><a class="el" href="classcutex_1_1_qx_spell_checker.html">QxSpellChecker</a></li>
    <li class="footer">Erzeugt von <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
